package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-09-26
 */
@TableName("CONSUMPTIONLIST")
public class Consumptionlist extends Model<Consumptionlist> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RECORD_ID", type = IdType.AUTO)
    private Long recordId;

    @TableField("CONSUMPTIONUID")
    private String consumptionuid;

    @TableField("TOTALPRICE")
    private Double totalprice;

    @TableField("FINALPRICE")
    private Double finalprice;

    @TableField("TIME")
    private Long time;

    @TableField("SHOPUID")
    private String shopuid;

    @TableField("SHOPNAME")
    private String shopname;

    @TableField("POSITION")
    private String position;

    @TableField("FIRENUMBER")
    private String firenumber;

    @TableField("ACCUMULATEPOINTS")
    private Long accumulatepoints;

    @TableField("CUSTOMERUID")
    private String customeruid;

    @TableField("CUSTOMERNAME")
    private String customername;

    @TableField("PHONE")
    private String phone;

    @TableField("CUSTOMERID")
    private String customerid;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getConsumptionuid() {
        return consumptionuid;
    }

    public void setConsumptionuid(String consumptionuid) {
        this.consumptionuid = consumptionuid;
    }
    public Double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Double totalprice) {
        this.totalprice = totalprice;
    }
    public Double getFinalprice() {
        return finalprice;
    }

    public void setFinalprice(Double finalprice) {
        this.finalprice = finalprice;
    }
    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }
    public String getShopuid() {
        return shopuid;
    }

    public void setShopuid(String shopuid) {
        this.shopuid = shopuid;
    }
    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }
    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
    public String getFirenumber() {
        return firenumber;
    }

    public void setFirenumber(String firenumber) {
        this.firenumber = firenumber;
    }
    public Long getAccumulatepoints() {
        return accumulatepoints;
    }

    public void setAccumulatepoints(Long accumulatepoints) {
        this.accumulatepoints = accumulatepoints;
    }
    public String getCustomeruid() {
        return customeruid;
    }

    public void setCustomeruid(String customeruid) {
        this.customeruid = customeruid;
    }
    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getCustomerid() {
        return customerid;
    }

    public void setCustomerid(String customerid) {
        this.customerid = customerid;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "Consumptionlist{" +
            "recordId=" + recordId +
            ", consumptionuid=" + consumptionuid +
            ", totalprice=" + totalprice +
            ", finalprice=" + finalprice +
            ", time=" + time +
            ", shopuid=" + shopuid +
            ", shopname=" + shopname +
            ", position=" + position +
            ", firenumber=" + firenumber +
            ", accumulatepoints=" + accumulatepoints +
            ", customeruid=" + customeruid +
            ", customername=" + customername +
            ", phone=" + phone +
            ", customerid=" + customerid +
        "}";
    }
}
